﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true"
    Inherits="Wjtour.Web.Admin.menu.addedi" %>

<%@ Import Namespace="Wjtour.Domain" %>
<%@ Import Namespace="Wjtour.Common" %>
<%@ Import Namespace="Wjtour.Domain.dto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <script>
        $(function () {
            $('#node_id').change(function () {
                var node = $(this).val();
                $('#node').val(node);
            });
            $('#mod_id').change(function () {
                var node = $(this).find("option:selected").text();
                $('#mod').val(node);
            });
            $('#act_id').change(function () {
                var node = $(this).find("option:selected").text();
                $('#act').val(node);
            });
        })
    </script>
    <div class="explain-col">
        说明，如要添加新节点，模块和行为两项为空即可。
    </div>
    <br />
    <table id="addeditable" align="center" border="1" cellpadding="0" cellspacing="0"
        bordercolor="#dddddd">
        <tr>
            <td width="115px" align="right">
                名称：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="title" />
            </td>
        </tr>
        <tr>
            <td align="right">
                节点：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="node" />&nbsp;
                <asp:DropDownList ID="node_id" runat="server">
                </asp:DropDownList>
                默认节点，可自行添加
            </td>
        </tr>
        <tr>
            <td align="right">
                模块：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="mod"/>&nbsp;
                <select name="mod_id"
                    id="mod_id" class="mod_id"><option value='5' style='background: '>ad</option>
                    <option value='113' style='background: '>adminlog</option>
                    <option value='81' style='background: '>api</option>
                    <option value='14' style='background: '>appkey</option>
                    <option value='79' style='background: '>article</option>
                    <option value='77' style='background: '>article_type</option>
                    <option value='86' style='background: '>baobei</option>
                    <option value='92' style='background: '>baobei_blacklist</option>
                    <option value='89' style='background: '>baobei_comment</option>
                    <option value='156' style='background: '>bshare</option>
                    <option value='51' style='background: '>city</option>
                    <option value='59' style='background: '>data</option>
                    <option value='68' style='background: '>duihuan</option>
                    <option value='106' style='background: '>duoduo2010</option>
                    <option value='146' style='background: '>freeze</option>
                    <option value='8' style='background: '>fun</option>
                    <option value='117' style='background: '>fxb</option>
                    <option value='152' style='background: '>goods</option>
                    <option value='66' style='background: '>huan_goods</option>
                    <option value='159' style='background: '>huan_goods_type</option>
                    <option value='39' style='background: '>huodong</option>
                    <option value='27' style='background: '>link</option>
                    <option value='36' style='background: '>mall</option>
                    <option value='43' style='background: '>mall_comment</option>
                    <option value='142' style='background: '>mall_order</option>
                    <option value='45' style='background: '>mall_type</option>
                    <option value='109' style='background: '>menu</option>
                    <option value='63' style='background: '>mingxi</option>
                    <option value='26' style='background: '>msg</option>
                    <option value='41' style='background: '>msgset</option>
                    <option value='30' style='background: '>nav</option>
                    <option value='94' style='background: '>noword</option>
                    <option value='182' style='background: '>paipai_index</option>
                    <option value='178' style='background: '>paipai_order</option>
                    <option value='148' style='background: '>phpwind</option>
                    <option value='174' style='background: '>plugin</option>
                    <option value='103' style='background: '>role</option>
                    <option value='83' style='background: '>scan</option>
                    <option value='98' style='background: '>seo</option>
                    <option value='32' style='background: '>service</option>
                    <option value='22' style='background: '>shop</option>
                    <option value='10' style='background: '>slides</option>
                    <option value='192' style='background: '>sms</option>
                    <option value='34' style='background: '>smtp</option>
                    <option value='97' style='background: '>spider</option>
                    <option value='168' style='background: '>tao_index</option>
                    <option value='162' style='background: '>tao_zhe</option>
                    <option value='172' style='background: '>template</option>
                    <option value='61' style='background: '>tixian</option>
                    <option value='17' style='background: '>tradelist</option>
                    <option value='48' style='background: '>tuan_goods</option>
                    <option value='49' style='background: '>tuan_type</option>
                    <option value='73' style='background: '>ucenter</option>
                    <option value='169' style='background: '>upgrade</option>
                    <option value='57' style='background: '>user</option>
                    <option value='193' style='background: '>user_temp</option>
                    <option value='115' style='background: '>webserver</option>
                    <option value='2' style='background: '>webset</option>
                    <option value='186' style='background: '>wujiumiao</option>
                    <option value='166' style='background: '>yiqifaapi</option>
                </select>
                默认节点，可自行添加
            </td>
        </tr>
        <tr>
            <td align="right">
                行为：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="act"/>&nbsp;<select name="act_id"
                    id="act_id" class="act_id"><option value='0' selected style='background: '>list</option>
                    <option value='1' style='background: '>addedi</option>
                    <option value='2' style='background: '>del</option>
                    <option value='3' style='background: '>set</option>
                </select>
                常用行为，可自行添加
            </td>
        </tr>
        <tr>
            <td align="right">
                状态：
            </td>
            <td>
                &nbsp;
                <asp:RadioButtonList runat="server" ID="hide">
                    <asp:ListItem Text="显示" Value="0" />
                    <asp:ListItem Text="隐藏" Value="1" />
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                排序：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="sort"/>
                数字越大越靠前
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td>
                &nbsp;<asp:Button ID="submit" CssClass="sub" Text=" 保 存 " runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
